************************************************************
*                                                          *
* Php Fusion Register Password Check v2                    *
* Script Author: Michael Burkhardt, www.b-topia.de         *
* Angepasst an PHP Fusion: Diavolo, http://dug-portal.com  *
* For System: Php-Fusion v7                                *
*                                                          *
************************************************************

This mod checks the security of a password. If the user gives a password with the registration, a beam is indicated on top. According to security of the password, the beam from Red after Yellow, blue and green changes. The "delicacy" can be put, however, was already adapted perfectly in Php Fusion! Special characters are not considered, because Php Fusion also permits no special characters.

***INSTALLATION***

1. Load the file "pass_check.js" in the Includes folder of Php Fusion

2. Open the file "register.php" and seek:

include LOCALE.LOCALESET."user_fields.php";

Insert under it:

echo "<script type='text/javascript' src='".INCLUDES."pass_check.js'></script>\n";

Seek:

	echo "<td class='tbl'>".$locale['u002']."<span style='color:#ff0000'>*</span></td>\n";
	echo "<td class='tbl'><input type='password' name='password1' maxlength='20' class='textbox' style='width:200px;' /></td>\n";

And replace with:

  echo "<td class='tbl'>Passwort Check:</td>\n";
  echo "<td class='tbl'><div id='plainScore' style='width:200px; height:14px; background-color:#FF6666; border:1px solid; border-color:#770000;'>Passwort St&auml;rke</div></td>\n";
  echo "</tr>\n<tr>\n";
  echo "<td class='tbl'>".$locale['u002']."<span style='color:#ff0000'>*</span></td>\n";
  echo "<td class='tbl'><input id='plainPW' type='password' onkeyup='calcPlainPW();' name='password1' maxlength='20' class='textbox' style='width:200px;' /></td>\n";

Ready! (-;